// PartConstructCommand.cpp: implementation of the PartConstructCommand class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "PartConstructCommand.h"
#include "FunctionObject.h"
#include "Part.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

PartConstructCommand::PartConstructCommand(const CString& strBH, Part* pPart)
{
	ASSERT(pPart);

	m_strBH = strBH;
	m_pPart = pPart;
}

PartConstructCommand::~PartConstructCommand()
{

}

BOOL PartConstructCommand::Execute()
{
/*	FunctionObject* pFunction = m_pPart->GetFunction(FunctionObject::eBHCONSTRUCT);
	ASSERT(pFunction);
	m_pPart->SetBH(m_strBH);
	return pFunction->Execute();*/
	return TRUE;
}